//题目：学习使用按位取反~
//程序分析：~0=1; ~1=0
#include "stdio.h"
main()
{
    int a,b;
    a=234;
    b=~a;
    printf("\40: The a's 1 complement(decimal) is %d \n",b);
    a=~a;
    printf("\40: The a's 1 complement(hexidecimal) is %x \n",a);
}
//         234
//二进制	1110 1010
//16进制	EA
//取反	    0001 0101
//	       21
//16进制	15